package engine.newUi
{
	import engine.data.ModelLocator;
	import engine.scene.player.MoveAction;
	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.table.NxTable;
	import newx.com.control.text.NxLabel;
	import newx.com.control.text.NxText;
	import newx.com.control.window.NxWindow;

	/**
	 * 龙女出谷 UI
	 * @author wangzj
	 * 界面
	 */	
	public class DragonGoPlayUI extends BaseUI
	{
		public static var _self:DragonGoPlayUI; 
		public var shortBtn:NxButton;           //一键奖励
		public var beginBtn:NxButton;           //一键奖励
		
		public var currentGateLab:NxLabel;     //当前关卡
		public var currentPrizeLab:NxLabel;    //当前奖励
		public var buttonPrizeLab:NxLabel;     //一键奖励
		public var lastTimeLab:NxLabel;        //一箭奖励显示
		public var lastHeight:NxLabel;        //最后高度显示
		
		public function DragonGoPlayUI( popupUI:Boolean=true )
		{
			super(popupUI);
		}
		/**
		 * 单例
		 */		
		public static function getInstance():DragonGoPlayUI
		{
			if(_self==null)
			{
				_self= new DragonGoPlayUI();
			}
			return _self ; 
		}
		override public function Init():void
		{
			DragonGoPlayLogic.getInstance().Init(); 
		}
		override protected function BeforeShow():void
		{
			DragonGoPlayLogic.getInstance().BeforeShow();
		}
		override protected function AfterHide():void
		{
			DragonGoPlayLogic.getInstance().AfterHide(); 
		}
	}
}